package com.Tao.user;

import java.util.List;

public class Response {
    private int code;
    private String msg;
    private int count;
    private List date;

    public Response() {
    }
    public Response(int count, List date) {
        this.code = 200;
        this.msg = "成功";
        this.count = count;
        this.date = date;
    }

    @Override
    public String toString() {
        return "Response{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", count=" + count +
                ", date=" + date +
                '}';
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List getDate() {
        return date;
    }

    public void setDate(List date) {
        this.date = date;
    }
}
